package com.zhu.tool_test.spring_cache.anno;

import java.lang.annotation.*;

/**
* @Description 缓存数据
* @Author  ggBall
* @Date   2021/1/3 17:13
* @Exception
*
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface GgCacheable {

    Class<? extends Object>  value() ;

    String key() default "";


}
